package com.sky.service;

import com.sky.dto.*;
import com.sky.result.PageResult;
import com.sky.vo.OrderPaymentVO;
import com.sky.vo.OrderStatisticsVO;
import com.sky.vo.OrderSubmitVO;
import com.sky.vo.OrderVO;

public interface OrderService {
    OrderSubmitVO OrderSubmit(OrdersSubmitDTO dto);
    // 订单支付
    OrderPaymentVO payment(OrdersPaymentDTO ordersPaymentDTO) throws Exception;

    PageResult historyOrders(OrdersPageQueryDTO dto);

    OrderVO findById(Long id);

    void orderCancel(Long id);

    void repetition(Long id);

    PageResult conditionSearch(OrdersPageQueryDTO dto);

    OrderStatisticsVO statistics();


    OrderVO details(Long id);

    void confirm(OrdersConfirmDTO dto);

    void rejection(OrdersRejectionDTO dto);

    void cancelOrder(OrdersCancelDTO dto);

    void delivery(Long id);

    void complete(Long id);

    void reminder(Long id);
}
